﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="pt-BR">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Curso Basico de Zend Framework - 1 dia</title>	
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	<link rel="shortcut icon" href="favicon.ico" />	
	<link rel="stylesheet" type="text/css" href="http://framework.zend.com/css/styles-20101102.css" />
	<link href="http://framework.zend.com/images/header/styles.css" media="screen" rel="stylesheet" type="text/css" /> 
	<link href="http://framework.zend.com/css/download-20100128.css" media="all" rel="stylesheet" type="text/css" />      
    <style type="text/css"> 
<!--
    @import "http://ajax.googleapis.com/ajax/libs/dojo/1.6/zf/themes/dojodemo/dojodemo.css";
-->
</style> 
<script type="text/javascript"> 
//<![CDATA[
    var djConfig = {"useXDomain":true,"modulePaths":{"zf":"\/js\/release\/zf-1.11.10\/zf"}};
//]]>
</script> 
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.xd.js"></script> 
<script type="text/javascript" src="http://framework.zend.com/js/release/zf-1.11.10/zf/main.js"></script> 

</head>
<body class="soria"> 
<div id="page" class="internal-page"> 
    <div id="top"> 
    <div class="top"> 
      <h1 class="logo"><a href="/" title="ZF Zend Framework">ZF Zend Framework</a></h1> 
      <ul id="top-nav" class="top-nav"> 
        <li><a href="/about/overview" class="level1">Criando sua primeira aplicação com ZendFramework</a></li> 
      </ul> 
      <div id="top-search"> 
        <form action="/search"> 
          <fieldset> 
          <legend>Pesquisa</legend> 
          <div class="field"><input type="text" name="query" value="Pesquisar por todo o site" onclick="this.value=='Pesquisar por todo o site'?this.value='':''" onblur="this.value==''?this.value='Pesquisar por todo o site':''" /></div> 
            <input name="language" type="hidden" value="en" /> 
            <input name="type" type="hidden" value="all" /> 
          <input type="image" src="/images/btn_search-go.gif" alt="Go" title="Go" class="btn_go" /> 
          </fieldset> 
        </form> 
      </div> 
    </div> 
  </div> 
  <div id="main-holder"> 
    <div class="content"> 
      <div class="content-in"> 
        <div class="left-side"> 
        <div class="sub-nav">
		<ul>
			<li>
				<a href="/docs/overview">Por onde come&ccedil;ar</a><span class="divider">|</span>
				<span class="arrow">&nbsp;</span>
			</li>
		</ul>
		</div>          
<div class="dotted-line"></div> 
 
<div id="manual-container" class="tundra"> 
<div id="zend.view.helpers" class="section"><div class="info"><h1 class="title">Por onde come&ccedil;ar</h1></div> 
    <?php echo $this->layout()->content?>
    <p class="para"> 
        Para criar sua aplicação tenha em seu computador um servidor local instalado (Wamp Xampp, EasyPHP...) com suporte a PHP5.
    </p>
    <p class="para"> 
		Lembre de quando você aprendeu html digitando o código no bloco de notas, e faça o mesmo com o PHP*.
	</p>
    <p class="para"> 
		Não esqueça nunca! “Quanto mais você digitar, mais código vai decorar” e entender como a variedade de códigos prontos à sua disposição deveriam estar em muitos dos seus sistemas...
	</p>
<div class="programlisting php"><div class="phpcode">
	<div class="php" style="font-family: monospace;">
		<ol>
			<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;">
				<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">
				<span style="color: #0000ff;">$helper</span> = <span style="color: #000000; font-weight: bold;">new</span> My_Helper_Foo<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
				</div>
			</li> 
		</ol>
	</div></div>
</div> 
        <p class="para"> 
            If the helper has a  <span class="methodname">setView()</span> method, the view object will call
            this and inject itself into the helper on registration.
        </p> 
 
	<blockquote>
		<p><b class="note">Note</b>: <span class="info"><b>Helper name should match a method</b><br /></span> 
			The second argument to  <span class="methodname">registerHelper()</span> is the name of the
			helper. A corresponding method name should exist in the helper; otherwise,
			<span class="classname">Zend_View</span> will call a non-existent method when invoking the
			helper, raising a fatal <acronym class="acronym">PHP</acronym> error.<br /> 
		</p>
	</blockquote>
    </div> 
</div> 
<hr /> 
</div> 
        </div> 
 
        <div class="right-nav">
<div class="block"> 
    <h2>Unidade 01</h2> 
    <div class="block-in"> 
	<ul class="manual toc"> 
    <li class="header home"><a href="manual.html">Por onde come&ccedil;ar</a></li> 
    <li class="header up"><a href="manual.html">Sua estrutura de diret&oacute;rios</a></li> 
    <li class="header up"><a href="reference.html">Application.ini</a></li> 
		<li><a href="zend.view.introduction.html">Definindo ambiente</a></li> 
		<li><a href="zend.view.introduction.html">Configurando um menu</a></li> 
    <li class="header up"><a href="zend.view.html">Index.php</a></li> 
	<li class="header up"><a href="zend.view.html">Bootstrap.php</a></li> 
		<li><a href="zend.view.introduction.html">M&eacute;todos "_init"</a></li> 
		<li><a href="zend.view.introduction.html">Instanciando Layout</a></li> 
	<li class="header up"><a href="zend.view.html">IndexController.php</a></li> 
</ul> 
    </div> 
</div> 

<div class="block"> 
    <h2>Cadastre-se</h2> 
    <div class="block-in"> 
		<div id="manual-search-form"> 
		<form action="/manual/search" method="get">
			<dl class="searchForm"> 
			<li class="element"><label for="query" class="required">Digite seu nome:</label> 
				<input type="text" name="query" id="query" value="" size="30" />
			</li>
			<li class="element"><label for="query" class="required">Seu E-mail:</label> 
				<input type="text" name="query" id="query" value="" size="30" />
			</li>
			<li id="manual-search-li"> 
				<input type="submit" name="search" id="search" value="Pesquisar" class="btn_submit" />
			</li>
			</dl>
		</form>
		</div> 
    </div> 
</div> 

</div> 
        <div class="clearer"></div> 
      </div> 
    </div> 
  </div> 
  <div id="footer"> 
      <div class="footer"> 
        <address> 
            &copy; 2006 - 2011 by <a href="http://www.zend.com/" target="_blank">Zend Technologies Ltd.</a> All rights reserved.<br /> 
        </address> 
        <ul class="footer-nav"> 
            <li><a href="/about/faq">FAQ</a><span class="divider">|</span></li> 
            <li><a href="/sitemap">Sitemap</a><span class="divider">|</span></li> 
            <li><a href="/wiki">Wiki</a><span class="divider">|</span></li> 
            <li><a href="/issues">Issue Tracker</a><span class="divider">|</span></li> 
            <li><a href="/code">Code Browser</a><span class="divider">|</span></li> 
            <li><a href="/license">License</a><span class="divider">|</span></li> 
            <li><a href="/changelog">Changelog</a><span class="divider">|</span></li> 
            <li><a href="/roadmap">Roadmap</a><span class="divider">|</span></li> 
            <li><a href="/cla">CLA</a><span class="divider">|</span></li> 
            <li><a href="/security">Security</a><span class="divider">|</span></li> 
            <li><a href="/contact">Contact Us</a></li> 
        </ul> 
    </div> 
  </div> 
</div> 
<script type="text/javascript" language="javascript" src="/js/elqNow/elqCfg.js"></script> 
<script type="text/javascript" language="javascript" src="/js/elqNow/elqImg.js"></script> 
</body> 
</html>